<div class="page-content" >
<div class="panel panel-default">
        <div class="panel-heading">
            <strong>权限组</strong>
        </div>
        <div class="panel-body">
            <div id="toolbar" style="width: 100%;">
                <form class="form-horizontal">
                     
					  
                    <div class="form-group">
                        <div class="col-sm-8">
                            <a  href="<{:addons_url('group_add')}>" class="btn btn-default">
                                <i class="fa fa-plus"></i>
                                添加组
                            </a>
                        </div>
                         
                    </div>
                </form>
            </div>
       <div class="bootstrap-table">
		<div class="fixed-table-container" style="padding-bottom: 0px;"> 
			<div class="fixed-table-body"> 
				<table id="data-table" class="table"><thead>
			<tr>
			 
			<th style="" data-field="id"><div class="th-inner sortable both desc">ID</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">类型</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">组名</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">模块名</div><div class="fht-cell"></div></th>
			 <th style="" data-field="name"><div class="th-inner ">排序</div><div class="fht-cell"></div></th> 
			<th style="" data-field="id"><div class="th-inner ">操作</div><div class="fht-cell"></div></th>
			</tr></thead>
			<tbody>
			 <php>$auth_cate=dict('auth_cate')</php>
			<volist name="data" id="vo">
			<tr data-index="0">
			 
			 <td ><{$vo.id}></td>
			 <td ><{$auth_cate[$vo['cate']]['name']}></td>
			<td  ><i class="menu-icon fa <{$vo.ico}>"></i> <{$vo.title}></td>
			<td  ><{$vo.authcode}></td>
			 <td>
				<input type="text" size="5"   key="id"  onblur="set_order(this)"   table="addon_auth_group" id="<{$vo.id}>" value="<{$vo.order_by}>" />
				</td>
			<td style="">
			  
                         <a  href="<{:addons_url('group_add',array('id'=> $vo['rid']))}>" class="btn btn-primary btn-xs"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;修改</a>
                              <a onclick="return confirm('确认需要删除些信息吗？');" href="<{:addons_url('group_del',array('id'=>$vo['rid'],'group_id'=>$vo['id']))}>" class="btn btn-primary btn-xs"><i class="v_mall_tubg v_mall_tj3"></i>&nbsp;删除</a> 	
	 
			</td>
			</tr>
			</volist>
			</tbody></table>
			 </div> 
			  <include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" />
		</div>
	    </div>
			<div class="clearfix"></div>
        </div>
    </div>
</div>	
	 
	 
	 